<html>
<head>
<meta charset="utf-8" />
<title>专家咨询</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
	<meta name="format-detection" content="telephone=no" />
    <link type="text/css" rel="stylesheet" href="{weixin::$staticFilePath}/css/style.css" />
    <link type="text/css" rel="stylesheet" href="/tpl/Wap/default/common/css/products/4/css/style.css" />
	<script src="{weixin::$staticFilePath}/js/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="{weixin::$staticFilePath}/js/main.js"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script src='/tpl/Wap/default/js/share.js'></script>
<script type="text/javascript">
	var title = "{weixin:$name}";
	var desc = "{weixin:$wxshop.wxshop_desc}";
	var link = "{weixin::C('site_url')}/index.php?g=Wap&m=Product&a=index&token={weixin:$_GET['token']}";
	var imgUrl = "{weixin::C('site_url')}/images/logo.png";
	var appId = '{weixin:$signPackage["appId"]}';
	var timestamp = '{weixin:$signPackage["timestamp"]}';
	var nonceStr = '{weixin:$signPackage["nonceStr"]}';
	var signature = '{weixin:$signPackage["signature"]}';
	$(function() {
		share(title, desc, link, imgUrl, appId, timestamp, nonceStr, signature);

	});
</script>
</head>
<body style="line-height:1.6">
  <div style="width: 100%; height: 40px; background: #eee;margin-bottom: 10px;">
    <div style="float: left; padding: 10px"><a style="text-decoration: none;" href="{weixin::U('Expert/index',array('token'=>$_GET['token']))}">首页</a></div>
    <div style="float: right; padding: 10px"><a style="text-decoration: none;" href="{weixin::U('Userinfo/userinfo',array('token'=>$_GET['token']))}">会员中心</a></div>
  </div>
  
  <div style="padding: 20px 0; margin-bottom: 20px;">
   <ul style="margin: 0 2%;">
			<li style="width: 32%; float: left;"><a
				style="background-color: rgba(255, 255, 255, 0.5); padding: 8px; font-size: 16px; color: #000000; text-decoration: none; text-align: center; border-radius: 3px;"
				href="{weixin::U('Userinfo/userinfo',array('token'=>$_GET['token']))}">个人中心</a></li>
			<li style="width: 32%; float: left;"><a
				style="background-color: rgba(255, 255, 255, 0.5); padding: 8px; font-size: 16px; color: #000000; text-decoration: none; text-align: center; border-radius: 3px;"
				href="{weixin::U('Expert/consultChooseType',array('token'=>$token))}">我要咨詢</a></li>
			<li style="width: 32%; float: left;"><a
				style="background-color: rgba(255, 255, 255, 0.5); padding: 8px; font-size: 16px; color: #000000; text-decoration: none; text-align: center; border-radius: 3px;"
				href="{weixin::U('Expert/experts',array('token'=>$token))}">专家教授</a></li>
		</ul>
  </div>
  
    <section class="f_list i_list" >
    <if condition="$consultations">   
    <div style="padding-bottom: 20px;">
    <volist name='consultations' id='c'>
    	<div style="width:100%; height: 50px;">
     		<a style="text-decoration: underline;" href="{weixin::U('Userinfo/consultationInfo',array('token'=>$_GET['token'],'id'=>$c['id']))}">
     		   <span style="float:left; width:78%; text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;">{weixin:$c.consult_desc}</span>
     		   <font style="float: right; color: red;">{weixin:$c.status}</font>
     		</a>
    	</div>
      </volist>
      </div>
      </if>
      <div style="width: 100%">
		<ul class="clearfix" id="f_list">
		<volist name="experts" id="hostlist"> 
			<li>
			<div>
				<a href="{weixin::U('Expert/expertDetail',array('token'=>$_GET['token'],'expert_id'=>$hostlist['expert_id']))}">
					<img src="{weixin:$hostlist.head_img}" />
					<h3 style="color:#888; line-height:1.6; font-weight:normal;height: 20px; overflow:hidden; font-size:14px;">{weixin:$hostlist.expert_name}</h3>
					<h3 style="color:#888; line-height:1.6; font-weight:normal;height: 20px; overflow:hidden; font-size:14px;">{weixin:$hostlist.expert_level}，{weixin:$hostlist.expert_title}</h3>
					<h3 style="color:#888; line-height:1.6; font-weight:normal;height: 20px; overflow:hidden; font-size:14px;">{weixin:$hostlist.keywords}</h3>
				</a>
			</div>
		    </li>
		</volist>
		</ul>
		</div>
		<div><a href="{weixin::U('Expert/experts',array('token'=>$token))}">更多》》</a></div>
	</section>
</body>
</html>